package com.spring.pojo;

import java.util.Date;

public class Order {
    private Integer id;
    private Double price;
    private Date date;
    private String address;
    public void setId(Integer id) {
        this.id = id;
    }
    public void setPrice(Double price) {
        this.price = price;
    }
    public void setDate(Date date) {
        this.date = date;
    }
    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "Order [id=" + id + ", price=" + price + ", date=" + date
                + ", address=" + address + "]";
    }
}

